﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using System.ServiceModel.DomainServices.Server;
using System.Data.Objects.DataClasses;

namespace Biciq.Datos
{
     [MetadataType(typeof(BicicletaMetadata))]
    public partial class Bicicleta
    {


        [DataMember]
        public string Descripcion
        {
            get;
            set;
        }

        [DataMember]
        public string  ColorAviso
        {
            get;
            set;
        }

        [DataMember]
        public string ToolTip
        {
            get;
            set;
        }

        internal sealed class BicicletaMetadata
        {



           
            [Include]
            public EntityCollection<EstacionBicileta> EstacionBiciletas;

            [Include]
            public EntityCollection<ClienteBicicleta> ClienteBicicletas;

        }

    }
}
